{if $full_page}
{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,listtable.js"}

<!-- 订单列表 -->
  <div class="list-div" id="listDiv">
{/if}
	<table cellpadding="3" cellspacing="1">
	  <tr>
	    <th>订单编号</th>
	    <th>用户id</th>
	    <th>用户名</th>
	    <th>用户绑定手机</th>
	    <th>订单总额</th>
	    <th>订单生成时间</th>
	    <th>订单提成比例</th>
	    <th>订单提成</th>
	    <th>订单提现状态</th>
	  </tr>
	{foreach from=$list item=val key=key}
	 <tr align="center" >
	    <td>{$val.order_sn}</td>
	    <td>{$val.user_id}</td>
	    <td>{$val.user_name}</td>
	    <td>{$val.mobile_phone}</td>
	    <td>{$val.goods_amount}</td>
	    <td>{$val.add_time}</td>
	    <td>{$val.commissions_ratio}</td>
	    <td>{$val.commissions_price}</td>
	    <td>{$val.withdraw_status}</td>
  	</tr>
  	{/foreach}
	</table>
	<input type="hidden" name="status" id="status" value="{$status}" />
	<input type="hidden" name="user_id" id="user_id" value="{$user_id}" />
	<!-- 分页 -->
	<table id="page-table" cellspacing="0">
	  <tr>
	    <td align="right" nowrap="true">
	    {include file="page.htm"}
	    </td>
	  </tr>
	</table>
  </div>
{if $full_page}
<script language="JavaScript">
listTable.recordCount = {$filter.record_count};
listTable.pageCount = {$filter.page_count};
listTable.query = "query1";
{foreach from=$filter item=item key=key}
listTable.filter.{$key} = '{$item}';
{/foreach}

    /**
     * 搜索
     */
    function searchUser()
    {
    	listTable.filter['status'] = document.forms['searchForm'].elements['status'].value;
    	listTable.filter['user_id'] = document.forms['searchForm'].elements['user_id'].value;
        listTable.filter['page'] = 1;
        listTable.loadList();
    }



</script>

{include file="pagefooter.htm"}
{/if}